package com.bidevalution.dao.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by glodon on 2019-09-09.
 */
public interface DynamicDataImportMapper {
    Long whetherTheTableExists(String tableName);

    List<String> getTableFields(String tableName);

    Boolean addTableFields(String sql);

    List<Map<String, Object>> getList(String sql);

    Boolean createTable(@Param("sql") String sql);

    int insertDatas(Map<String,Object> params);

    int updateData(Map<String,Object> params);
}
